Nov. branch merge. Various features backported from stable, various bug fixes.
[lhc/web/wiklou.git] / includes / DefaultSettings.php
1 <?
2 # DO NOT EDIT THIS FILE!
3 # To customize your installation, edit "LocalSettings.php".
4 # Note that since all these string interpolations are expanded
5 # before LocalSettings is included, if you localize something
6 # like $wgScriptPath, you must also localize everything that
7 # depends on it.
8
9 $wgSitename = "Wikipedia";
10 $wgMetaNamespace = FALSE; # will be same as you set $wgSitename
11
12 $wgServer = "http://" . getenv( "SERVER_NAME" );
13 $wgScriptPath = "/wiki";
14 $wgScript = "{$wgScriptPath}/wiki.phtml";
15 $wgRedirectScript = "{$wgScriptPath}/redirect.phtml";
16 $wgStyleSheetPath = "{$wgScriptPath}/style";
17 $wgStyleSheetDirectory = "{$IP}/style";
18 $wgArticlePath = "{$wgScript}?title=$1";
19 $wgUploadPath = "{$wgScriptPath}/upload";
20 $wgUploadDirectory = "{$IP}/upload";
21 $wgLogo = "{$wgUploadPath}/wiki.png";
22 $wgMathPath = "{$wgUploadPath}/math";
23 $wgMathDirectory = "{$wgUploadDirectory}/math";
24 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
25 $wgEmergencyContact = "wikiadmin@" . getenv( "SERVER_NAME" );
26 #$wgPasswordSender = "Wikipedia Mail <apache@www.wikipedia.org>";
27 $wgPasswordSender = "Wikipedia Mail <apache@www.wikipedia.org>\r\nReply-To: webmaster@www.wikipedia.org";
28
29 # MySQL settings
30 #
31 $wgDBserver = "localhost";
32 $wgDBname = "wikidb";
33 $wgDBconnection = "";
34 $wgDBuser = "wikiuser";
35 $wgDBpassword = "userpass";
36 $wgDBsqluser = "sqluser";
37 $wgDBsqlpassword = "sqlpass";
38 $wgDBminWordLen = 4;
39 $wgDBtransactions = false; # Set to true if using InnoDB tables
40 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
41
42 # memcached settings
43 # See docs/memcached.doc
44 #
45 $wgUseMemCached = false; # Will be set to false in Setup.php, if the server isn't working
46 $wgMemCachedServers = array( "127.0.0.1:11000" );
47 $wgMemCachedDebug = false;
48
49 # Language settings
50 #
51 $wgLanguageCode = "en";
52 $wgInterwikiMagic = true; # Treat language links as magic connectors, not inline links
53 $wgInputEncoding = "ISO-8859-1";
54 $wgOutputEncoding = "ISO-8859-1";
55 $wgEditEncoding = "";
56 $wgDocType = "-//W3C//DTD HTML 4.01 Transitional//EN";
57 $wgDTD = "http://www.w3.org/TR/html4/loose.dtd";
58 $wgUseDynamicDates = false; # Enable to allow rewriting dates in page text
59 $wgAmericanDates = false; # Enable for English module to print dates
60 # as eg 'May 12' instead of '12 May'
61 $wgLocalInterwiki = "w";
62 $wgShowIPinHeader = true; # For non-logged in users
63 $wgUseDynamicDates = true; # Allows the user to pick their preferred date format
64
65 # Translation using MediaWiki: namespace
66 # Not recommended unless memcached is installed
67 $wgUseDatabaseMessages = false;
68
69 $wgExtraSubtitle = "";
70 $wgSiteSupportPage = "";
71
72 # Miscellaneous configuration settings
73 #
74 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
75 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
76 $wgDebugComments = false;
77 $wgReadOnly = false;
78 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
79 $wgLogQueries = false;
80 $wgUseBetterLinksUpdate = true;
81 $wgUseCategoryMagic = false;
82 $wgEnablePersistentLC = false; # Persistent link cache, needs the linkscc table
83
84 # User rights
85 $wgWhitelistEdit = false;
86 $wgWhitelistRead = false;
87 $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
88 $wgSysopUserBans = false; # Allow sysops to ban logged-in users
89 $wgIPBlockExpiration = 86400; # IP blocks expire after this many seconds, 0=infinite
90 $wgUserBlockExpiration = 0; # As above, but for logged-in users
91
92 # Client-side caching:
93 $wgCachePages = true; # Allow client-side caching of pages
94
95 # Set this to current time to invalidate all prior cached pages.
96 # Affects both client- and server-side caching.
97 $wgCacheEpoch = "20030516000000";
98
99 # Server-side caching:
100 # This will cache static pages for non-logged-in users
101 # to reduce database traffic on public sites.
102 # Must set $wgShowIPinHeader = false
103 $wgUseFileCache = false;
104 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
105
106 $wgCookieExpiration = 2592000;
107
108 $wgAllowExternalImages = true;
109 $wgMiserMode = false; # Disable database-intensive features
110 $wgUseTeX = false;
111
112 # Profiling / debugging
113 $wgProfiling = false; # Enable for more detailed by-function times in debug log
114 $wgProfileLimit = 0.0; # Only record profiling info for pages that took longer than this
115 $wgProfileOnly = false; # Don't put non-profiling info into log file
116 $wgDebugProfiling = false; # Detects non-matching wfProfileIn/wfProfileOut calls
117 $wgDebugFunctionEntry = 0; # Output debug message on every wfProfileIn/wfProfileOut
118
119
120 $wgDisableCounters = false;
121 $wgDisableTextSearch = false;
122 $wgDisableSearchUpdate = false; # If you've disabled search semi-permanently, this also disables updates to the table. If you ever re-enable, be sure to rebuild the search table.
123 $wgDisableUploads = false;
124 $wgDisableAnonTalk = false;
125
126 # We can serve pages compressed in order to save bandwidth,
127 # but this will increase CPU usage.
128 # Requires zlib support enabled in PHP.
129 $wgUseGzip = false;
130
131 $wgPasswordSalt = true; # For compatibility with old installations set to false
132
133 # Which namespaces should support subpages?
134 # See Language.php for a list of namespaces.
135 #
136 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
137 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
138
139 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
140 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0 );
141
142 ?>